
import { defineStore } from 'pinia'

export const useThemeStore = defineStore('theme', {
    state: () => ({
        theme: 'dark'
    }),
    actions: {
        changeTheme() {
            this.theme = this.theme === 'dark' ? 'default' : 'dark'
        }
    }
})